package controllers;

import play.mvc.Controller;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

/**
 * 基本控制器
 * 
 * @author zengjie
 * 
 */
public class BaseController extends Controller
{

    protected static final Gson gson;
    static
    {
        GsonBuilder builder = new GsonBuilder();
        builder.setDateFormat("yyyy-MM-dd HH:mm:ss");
        gson = builder.create();
    }

}
